﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DDNS.Model.Results
{
    /// <summary>
    /// 更新动态DNS记录返回实体
    /// </summary>
    public class DomainRecordResults
    {
        /// <summary>
        /// 基础返回信息
        /// </summary>
        public BaseResult status { get; set; }

        /// <summary>
        /// 更新成功返回信息
        /// </summary>
        public Record? record { get; set; }
    }

    /// <summary>
    /// 更新成功返回实体
    /// </summary>
    public class Record
    {
        /// <summary>
        /// 记录ID
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 二级域名值
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 解析的IP值
        /// </summary>
        public string value { get; set; }
        /// <summary>
        /// 记录状态
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string weight { get; set; }
    }
}
